package interfaces

import (
	"reflect"

	"github.com/gin-gonic/gin"
)

type EventHandler func(ctx *gin.Context, data any) (err error)

type Event struct {
	App     string
	Name    string
	Type    reflect.Type
	Handler EventHandler
}
